package com.gdkf.dormitory.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lcy
 * @since 2022-09-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Late implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "late_id", type = IdType.AUTO)
    private Integer lateId;

    /**
     * 楼房号
     */
    private String housId;

    /**
     * 宿舍号
     */
    private String dormId;

    /**
     * 学号
     */
    private String stuId;

    /**
     *  晚归的时间
     */
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime lateDate;

    /**
     * 晚归登记员
     */
    private String lateWatch;

    /**
     * 备注
     */
    private String lateDes;


}
